class User {

  /**
   *
   * @param {number} userId
   * @return {User}
   */
  setId(userId) {
    this._id = userId;
    return this;
  }

  /**
   *
   * @param {string} userName
   * @return {User}
   */
  setName(userName) {
    this._name = userName;
    return this;
  }

  /**
   *
   * @param {number} userToken
   * @return {User}
   */
  setToken(userToken) {
    this._token = userToken;
    return this;
  }

  /**
   *
   * @param {string} userIcon
   * @return {User}
   */
  setIcon(userIcon) {
    this._icon = userIcon;
    return this;
  }

  /**
   *
   * @return {number}
   */
  getId() {
    return this._id;
  }

  /**
   *
   * @return {string}
   */
  getName() {
    return this._name;
  }

  /**
   *
   * @return {number}
   */
  getToken() {
    return this._token;
  }

  /**
   *
   * @return {string}
   */
  getIcon() {
    return this._icon;
  }


}

export default User;